package interfas;

import model.EntityDAO;
import model.QuestionDAO;
import model.UserDAO;

import org.mybeans.dao.DAOException;

import databeans.Answer;

public interface AnswerInterface {

	public abstract void create(Answer answer, QuestionDAO questionDAO, UserDAO userDAO, EntityDAO entityDAO) throws DAOException;
	public abstract Answer lookup(int qid, String username, String entityname, String answer) throws DAOException;
	public abstract int size() throws DAOException;
	
}
